---
title: Manage legal file locations
summary: Track and update the physical/electronic file location of a legal case's documents.
status: draft
owner: SAIF Case Management team
last_reviewed: 2026-08-21
library: SAIF.Business.Claim.Legal
reference_type: embedded
operation_id: OP-CLL-007
trigger: File location changes (e.g., file sent to storage, attorney, or board)
---

# Manage legal file locations

Track and update the physical/electronic file location of a legal case's documents.

| Field | Value |
|---|---|
| **Operation ID** | OP-CLL-007 |
| **Trigger** | File location changes (e.g., file sent to storage, attorney, or board) |
| **Inputs** | Business-object criteria properties set by the caller (see linked SQL parameter tables) |
| **Outputs** | Persisted/retrieved `clsLegalFileLocation` state |
| **Primary components** | `clsLegalFileLocation` |
| **Entry point** | `SAIF.Business.Claim.Legal\LegalNet\clsLegalFileLocation.vb` |

## Steps

1. Validate the request against applicable business rules: [BR-CLM-LGL-005](../business-rules.md#br-clm-lgl-005-non-single-row-crud-result-is-treated-as-a-failure), [BR-CLM-LGL-019](../business-rules.md#br-clm-lgl-019-file-location-falls-back-to-a-sentinel-value-on-lookup-failure)
   - On failure: validation errors are collected and returned to the caller; the operation does not proceed.
2. Execute the underlying data access for `clsLegalFileLocation` against: [DB-CLL-036](../sql/SQL-036-legalfilelocation.md), [DB-CLL-037](../sql/SQL-037-legalfilelocation.md), [DB-CLL-038](../sql/SQL-038-legalfilelocation.md), [DB-CLL-039](../sql/SQL-039-legalfilelocation.md)
   - Tables affected: [LEGAL_FILE_LOCATION](../database-tables.md#legal_file_location)
3. Return the resulting object graph (or success/failure status) to the caller.

## Process flow

```mermaid
flowchart TD
	Start([File location changes, e.g. sent to storage, attorney, or board]) --> Validate[Validate business rules]
	Validate --> Decision{Valid?}
	Decision -->|No| EndErr([Return validation errors])
	Decision -->|Yes| Exec[Execute data access for clsLegalFileLocation]
	Exec --> EndOk([Return result])
```

## Failure and edge-case behavior

- Validation failure: the operation returns collected errors without persisting any change.

## Related documentation
- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)
- [SQL catalog](../sql/index.md)
- [Database tables](../database-tables.md)

## Sources
- `SAIF.Business.Claim.Legal\` (clsLegalFileLocation)